package com.ssy.lingxi.platform.manage.repository;

import com.ssy.lingxi.platform.manage.entity.base.SiteShop;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SiteShopRepository extends JpaRepository<SiteShop, Long> {

    void deleteAllBySiteId(Long siteId);

    List<SiteShop> findBySiteId(Long siteId);

    List<SiteShop> findByShopIdIn(List<Long> shopIdList);

    List<SiteShop> findAllBySiteIdIn(List<Long> siteId);
}
